package com.smartleanx.module.hrm.dal.dataobject.salary;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author mybatis-plus
 * @since 2025-02-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("hrm_deduction_rule")
public class HrmDeductionRule extends Model<HrmDeductionRule> {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 1、迟到分钟 2、迟到次数 3、固定金额
     */
    private Integer lateRulesType;

    /**
     * 扣多少钱
     */
    private Integer lateAmount;

    /**
     * 1、早退分钟 2、早退次数 3、固定金额
     */
    private Integer leaveEarlyRulesType;


    /**
     * 扣多少钱
     */
    private Integer leaveEarlyAmount;

    /**
     * 1、、按照旷工天数
     */
    private Integer absenteeRulesType;

    /**
     * 比例/金额
     */
    private Integer absenteeNum;

    /**
     * 1按照缺卡次数
     */
    private Integer missingCardRules;

    /**
     * 缺卡每次扣多少钱
     */
    private Integer missingCardNum;


    private Integer teamId;



}
